package com.xy.p2p.service;

import java.util.List;
import java.util.Map;
import com.xy.core.service.BaseService;
import com.xy.common.page.Pagination;

import com.xy.p2p.model.Tmemberrates;

public abstract interface TmemberratesService extends BaseService<Tmemberrates>
{
	public abstract boolean checkExist(String paraName,String paraValue);
   public abstract List<Tmemberrates> getTmemberrates(Map<String, Object> map);
	public abstract Pagination getTmemberratesByPage(Map<String, Object> map, int pageNo,
			int pageSize);
	public Tmemberrates getWITHDRAW_FEE();
	/**
	 * 获取余额贷提前赎回费费率
	 * @param limit 余额贷融资限期(30;90;180;270;360)
	 * @return 费率实体
	 */
	public Tmemberrates getYED_early(String limit);
	/**
	 * 获取费率
	 * @param feedcode 费率名可以在tmemberrate找静态变量或者对应数据表
	 * @return 费率实体
	 */
	public Tmemberrates getFee(String feedcode);
}